package com.virgo.demo.system.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminUserBo implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	private Long id;

	@NotBlank(message = "账号不能为空")
	private String adminName;

	@NotBlank(message = "昵称不能为空")
	private String nickName;

	private String password;

	@NotNull(message = "状态不能为空")
	private Integer status;

	@NotNull(message = "角色不能为空")
	private Long roleId;

}